<!--导航栏-->
<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/star">首页</a>
                </li>
                <li class="active">指标管理</li>
            </ul>
        </div>
    </div>
</div>


<div class="container-fluid">
    <div style="float: right; margin-right: 10px;">
        <a href="https://docs.qq.com/doc/DSGFPTEdlT2JTTVVN"> <u>业务过程定义(DOC)</u> </a>
<!--        <a href="https://docs.qq.com/sheet/DSER1ZVFaQkhTR3d6?tab=kvyxdq"> <u>指标体系(DOC)</u> </a>-->
<!--        <a href="https://docs.qq.com/sheet/DY250ak9hVUlyUEth?tab=BB08J2"> <u>新赶集指标体系(DOC)</u> </a>-->
<!--        <a href="https://docs.qq.com/sheet/DT0xJaGNRd3dYcEl2?tab=BB08J2"> <u>新英才指标体系(DOC)</u> </a>-->
    </div>
    <div style="margin: 5px 0 10px">
        <a href="" style="margin-left:10px; color: {{vm.d.color['zp']}};" ng-click="changePage('zp')"> <u>HRG通用指标</u> </a>
<!--        <a href="" style="margin-left:10px; color: {{vm.d.color['ganji']}}" ng-click="changePage('ganji')"> <u>赶集专用指标</u> </a>-->
<!--        <a href="" style="margin-left:10px;" ng-click="changePage('58')"> 58指标(58) </a>-->
<!--        <a href="" style="margin-left:10px;" ng-click="changePage('chinahr')"> 英才指标(chinahr) </a>-->
    </div>

    <div class="row" style="margin: 10px 10px 0">
        <div ng-repeat="item in vm.conf" class="col-sm-4 col-md-4 main" style="padding: 0 0 6px 0">
            {{item.text}}
            <div ng-repeat="data in item.nodes" style="display: inline-block;">
                <a href="" style="margin-right:4px;" ng-click="queryItems(data)">  <u>{{data}}</u> </a>
            </div>
        </div>
    </div>

    <div style="margin: 10px">
        <div class="row">
            <div style="margin: 10px 10px 10px 400px; ">
                <input type="text" ng-model="vm.p.search" style="width:700px;height:32px" placeholder="请输入指标名称">
                <button class="btn btn-primary" style="display: inline-block;" ng-click="searchItems()">搜索</button>
            </div>

            <div class="col-sm-12 col-md-12 main" style="float: right">
                <label style="float: right">耗时：{{vm.result.ms}}ms</label>
                <h3 class="sub-header" style="display:inline-block"> {{vm.d.bizTxt}}指标列表 </h3>
<!--                <a href="#/star/metric2/zhibiao/0/0"> 指标看板 </a>-->
                <a href="#/star/metric2/data_metric_add/{{vm.p.biz}}/0"> <u>新建</u> </a>
                <table id="list_table" class="table table-condensed"
                       data-toolbar="#toolbar"
                       data-search="true"
                       data-show-toggle="true"
                       data-show-columns="true"
                       data-show-pagination-switch="true"
                       data-pagination="true"
                       data-search-align="left"
                       data-buttons-align="left"
                       data-toolbar-align="left"
                       data-side-pagination="client">
                    <thead>
                    <tr>
                        <th data-field="SerialNumber" data-sortable="true" data-formatter="serialFormatter">序号</th>
                        <th data-field="id" data-sortable="true" data-formatter="dataMetricIDOptFmt">操作</th>
<!--                        <th data-field="statusOpt" data-sortable="true" data-formatter="statusOptFmt">状态</th>-->
                        <!--<th data-field="bizArea" data-sortable="true">业务板块</th>-->

                        <th data-field="topicGroup" data-sortable="true">数据域</th>
                        <th data-field="topic" data-sortable="true">主题名称</th>
                        <th data-field="indexStd" data-sortable="true" data-formatter="indexStdFmt">标准指标</th>
                        <th data-field="indexEn" data-sortable="true">英文名称</th>
                        <th data-field="indexCn" data-sortable="true" >原子指标名称</th>
                        <th data-field="indexTitle" data-sortable="true" >指标中文名称</th>
                        <!--<th data-field="indexType" data-sortable="true">类型</th>-->
                        <th data-field="indexDefine" data-sortable="true" data-formatter="indexDefineFmt">业务口径</th>
                        <!--<th data-field="indexTbl" data-sortable="true" >数据源表</th>-->
                        <!--<th data-field="indexImpl" data-sortable="true" data-formatter="longContentFmt">口径定义</th>-->
<!--                        <th data-field="userJourneyMap" data-sortable="true">用户生命旅程</th>-->
                        <th data-field="businessSystem" data-sortable="true" data-formatter="businessSystemFmt">业务过程</th>
                        <th data-field="appDiv" data-sortable="true">业务场景</th>
                        <th data-field="zgroup" data-sortable="true">指标分组</th>
                        <th data-field="zlevel" data-sortable="true">指标分层</th>
                        <th data-field="ownerId" data-sortable="true">负责人</th>
                        <th data-field="updateTime" data-sortable="true">更新时间</th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
</div>
